package com.tc.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tc
 * @since 2025-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("reimbursement_record")
@ApiModel(value = "报销记录对象", description = "报销记录")
public class Reimbursement_record implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;

    /**
     * 患者ID
     */
    @ApiModelProperty(value = "患者ID")
    @TableField("patient_id")
    private Long patientId;

    /**
     * 总费用
     */
    @ApiModelProperty(value = "总费用")
    @TableField("total_cost")
    private BigDecimal totalCost;

    /**
     * 起付线
     */
    @ApiModelProperty(value = "起付线")
    @TableField("deductible")
    private BigDecimal deductible;

    /**
     * 封顶线
     */
    @ApiModelProperty(value = "封顶线")
    @TableField("ceiling")
    private BigDecimal ceiling;

    /**
     * 报销金额
     */
    @ApiModelProperty(value = "报销金额")
    @TableField("reimbursement_amount")
    private BigDecimal reimbursementAmount;

    /**
     * 结算类型
     */
    @ApiModelProperty(value = "结算类型")
    @TableField("settlement_type")
    private String settlementType;

    /**
     * 报销时间
     */
    @ApiModelProperty(value = "报销时间")
    @TableField("reimbursement_time")
    private LocalDateTime reimbursementTime;
    
    /**
     * 逻辑删除标志（0-未删除，1-已删除）
     */
    @ApiModelProperty(value = "逻辑删除标志（0-未删除，1-已删除）")
    @TableLogic
    @TableField("deleted")
    private Integer deleted;
}
